import request from '@/utils/request'

// 查询系统存储图片列表
export function listImgref(query) {
  return request({
    url: '/member/imgref/list',
    method: 'get',
    params: query
  })
}

// 查询系统存储图片详细
export function getImgref(id) {
  return request({
    url: '/member/imgref/' + id,
    method: 'get'
  })
}

// 新增系统存储图片
export function addImgref(data) {
  return request({
    url: '/member/imgref',
    method: 'post',
    data: data
  })
}

// 修改系统存储图片
export function updateImgref(data) {
  return request({
    url: '/member/imgref',
    method: 'put',
    data: data
  })
}

// 删除系统存储图片
export function delImgref(id) {
  return request({
    url: '/member/imgref/' + id,
    method: 'delete'
  })
}

// 导出系统存储图片
export function exportImgref(query) {
  return request({
    url: '/member/imgref/export',
    method: 'get',
    params: query
  })
}